import request from '@/utils/request'

// 查询交易日志列表
export function listTransfer_log(query) {
  return request({
    url: '/transfer_log/transfer_log/list',
    method: 'get',
    params: query
  })
}

// 查询交易日志详细
export function getTransfer_log(id) {
  return request({
    url: '/transfer_log/transfer_log/' + id,
    method: 'get'
  })
}

// 新增交易日志
export function addTransfer_log(data) {
  return request({
    url: '/transfer_log/transfer_log',
    method: 'post',
    data: data
  })
}

// 修改交易日志
export function updateTransfer_log(data) {
  return request({
    url: '/transfer_log/transfer_log',
    method: 'put',
    data: data
  })
}

// 删除交易日志
export function delTransfer_log(id) {
  return request({
    url: '/transfer_log/transfer_log/' + id,
    method: 'delete'
  })
}
